package fr.alesia.deepstack.factory;

import fr.alesia.deepstack.bean.Player;
import fr.alesia.deepstack.bean.Tournament;
import fr.alesia.deepstack.service.PlayerService;
import fr.alesia.deepstack.service.TournamentService;
import fr.alesia.deepstack.service.impl.TournamentServiceSimple;
import fr.alesia.deepstack.stat.GeneralStatistics;
import fr.alesia.deepstack.stat.PlayerStatistics;
import fr.alesia.deepstack.stat.simple.GeneralStatisticsSimple;
import fr.alesia.deepstack.stat.simple.PlayerStatisticsSimple;

public abstract class ServiceFactory {

	private ServiceFactory(){}
	
	public static GeneralStatistics getGeneralStatistics(){
		
		return GeneralStatisticsSimple.getInstance();
	}
	
	public static PlayerStatistics getPlayerStatistics(Player player){
		
		return new PlayerStatisticsSimple(player);
	}
	
	public static PlayerService getPlayerService(){
		
		return null;
	}
	
	public static TournamentService getTournamentService(Tournament tournament){
		
		return new TournamentServiceSimple(tournament);
	}
}
